
ALTER TABLE "ShiftSlot"
ADD COLUMN "Active" boolean;


ALTER TABLE "Shift"
ADD COLUMN "Active" boolean;

 UPDATE "Shift" SET "Active" = true WHERE "ShiftId" is not null;
 
  UPDATE "ShiftSlot" SET "Active" = true WHERE "ShiftSlotId" is not null;